package me.flyray.bsin.server.impl;

import me.flyray.bsin.facade.service.NurseTaskListener;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class NurseTaskListenerImpl implements NurseTaskListener {

    /**
     * 通过监听器动态设置办理人
     */
    public Map<String,Object> setAssignee(Map<String,Object> requestMap) {
        String nurseId = (String)requestMap.get("nurseId");
        Map<String,Object> result = new HashMap<>();
        result.put("nurseId",nurseId);
        return result;
    }

}

